//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.ares.app.demo.entities.sand;

import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(
        name = "trav_info"
)
@NamedQuery(
        name = "Stravelinfo.findAll",
        query = "SELECT s FROM Stravelinfo s"
)
public class Stravelinfo implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    private int lineid;
    private String name;
    private double price;
    private String map;
    private String spots;
    private String intro;
    private int day;
    @OneToMany(
            mappedBy = "stravelinfo"
    )
    private List<Stravelspot> stravelspot;

    public Stravelinfo() {
    }

    public int getLineid() {
        return this.lineid;
    }

    public void setLineid(int lineid) {
        this.lineid = lineid;
    }

    public List<Stravelspot> getStravelspot() {
        return this.stravelspot;
    }

    public void setStravelspot(List<Stravelspot> stravelspot) {
        this.stravelspot = stravelspot;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return this.price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getMap() {
        return this.map;
    }

    public void setMap(String map) {
        this.map = map;
    }

    public String getSpots() {
        return this.spots;
    }

    public void setSpots(String spots) {
        this.spots = spots;
    }

    public String getIntro() {
        return this.intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public int getDay() {
        return this.day;
    }

    public void setDay(int day) {
        this.day = day;
    }
}
